package com.hinotoyk.testsystem.mappers;

import com.hinotoyk.testsystem.entity.EssayQuestion;
import com.hinotoyk.testsystem.entity.EssayQuestionExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface EssayQuestionMapper {
    long countByExample(EssayQuestionExample example);

    int deleteByExample(EssayQuestionExample example);

    int deleteByPrimaryKey(Integer essayQuestionId);

    int insert(EssayQuestion record);

    int insertSelective(EssayQuestion record);

    List<EssayQuestion> selectByExample(EssayQuestionExample example);

    EssayQuestion selectByPrimaryKey(Integer essayQuestionId);

    int updateByExampleSelective(@Param("record") EssayQuestion record, @Param("example") EssayQuestionExample example);

    int updateByExample(@Param("record") EssayQuestion record, @Param("example") EssayQuestionExample example);

    int updateByPrimaryKeySelective(EssayQuestion record);

    int updateByPrimaryKey(EssayQuestion record);
}